/**
 * 
 */
package com.xpec.c4.service.group.transportlayer;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * 组成员信息
 * 
 * @author lipeilin
 * @2011-3-10 下午02:37:51
 *
 */
public class GroupMember implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -4134463760063853234L;

	/**
	 * 服务器名称
	 */
	private String serverName;

	/**
	 * 模块列表
	 */
	private List<String> serviceModule = new ArrayList<String>();
	
	/**
	 * 地址
	 */
	private String address;
	
	/**
	 * 加入时间
	 */
	private long loginTime;

	public String getServerName() {
		return serverName;
	}

	public void setServerName(String serverName) {
		this.serverName = serverName;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public List<String> getServiceModule() {
		return serviceModule;
	}

	public void setServiceModule(List<String> serviceModule) {
		this.serviceModule = serviceModule;
	}

	@Override
	public String toString() {
		return "serverName:"+serverName+"/address:"+address+"/serviceModule:"+serviceModule;
	}

	public long getLoginTime() {
		return loginTime;
	}

	public void setLoginTime(long loginTime) {
		this.loginTime = loginTime;
	}
	
}
